<?php

/*
 * Author: Panos
 * Soft deletes a category from the Database without checking for the category owner
 */

function BL_admin_disableEntity($entityId)
{
    if ($entityId < 0)
    {
        return BL_DISABLE_ENTITY;
    }

    $err_no = DB_disableEntity($entityId);

    return $err_no >= 0 ? BL_OK : BL_DISABLE_ENTITY;
}

?>